class WebSiteInfo implements Comparable{
  String siteName;
  int visitCount;
  ArrayList timeStampList;  //Arraylist of string
  ArrayList visitTypeList;  //Arraylist of string
  ArrayList referrerList;  //Arraylist of string

  WebSiteInfo(){
    timeStampList = new ArrayList();
    visitTypeList = new ArrayList();
    referrerList = new ArrayList();
  }  
  
  public int compareTo( Object _o ){    
    WebSiteInfo wci = (WebSiteInfo)_o;
      
    //int compareResult = this.countHourly.compareTo(sch.countHourly);
    if( this.visitCount > wci.visitCount ){
      return -1;
    }

    if( this.visitCount < wci.visitCount ){
      return 1;
    }

    return 0;
  } 
}
